export default {
  height:'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  editBtn:true,
  addBtn:true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    
    {
      label: "证书名称",
      prop: "name",
      type: "input",
      search: true
    },
    {
      label: "证书编号",
      prop: "code",
      type: "input",
      search: true
    },
    {
      label: "持证人",
      prop: "ownerId",
      type: "input",
      search: true
    },
    {
      label: "证书附件",
      prop: "code",
      type: "upload"
    },
    {
      label: "证书有效期",
      prop: "validDate",
      type: "daterange"
    },
    {
      label: "证书免考",
      prop: "code",
      type: "radio",
      dicData:[
        {
          label:'免考',
          value:'免考'
        },
        {
          label: '不免考',
          value:'不免考'
        }
      ]
    },
    {
      label: "证书等级",
      prop: "grade",
      type: "select",
      dicUrl: "/blade-system/dict/dictionary?code=cer_level",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
    },
    {
      label: "获得时间",
      prop: "validTime",
      type: "date"
    },
    {
      label: "密级",
      prop: "security",
      type: "select",
      dicUrl: "/blade-system/dict/dictionary?code=amp_security",
      props: {
        label: "dictValue",
        value: "dictKey"
      },
    },
    {
      label: "是否发布",
      prop: "statusName",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    
  ]
}
